package com.scs.application.modules.sys.service;

import com.scs.application.core.service.IBaseService;
import com.scs.application.modules.sys.entity.FlowNode;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 */
public interface FlowNodeService extends IBaseService<FlowNode> {
    /**
     * @Description：根据FlowId和FlowNodeValue获取节点
     */
    FlowNode getByFlowIdAndValue(String flowId, String nodeValue);
    /**
     * 是否支持
     * @param flagProject
     * @return
     */
    Boolean isSupport(Boolean flagProject);

    List<FlowNode> getByFlowId(String flowId);

    /**
     * 根据流程标识获取流程节点信息
     */
    List<FlowNode> getByFlowCode(String flowCode);
}
